<template>
  <div class="login-container">
    <div class="login-box">
      <SwitchDark class="dark" />
      <div class="login-logo">
        <h2 class="logo-text">{{ globalStore.systemConfig.systemName }}</h2>
      </div>
      <div class="login-form-box">
        <div class="login-form">
          <div class="login-title">
            <h2 class="logo-title-text">用户登录</h2>
          </div>
          <LoginForm />
        </div>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts" name="login">
import LoginForm from "./components/LoginForm.vue";
import SwitchDark from "@/components/SwitchDark/index.vue";
import { useGlobalStore } from "@/stores/modules/global";
const globalStore = useGlobalStore();
</script>

<style scoped lang="scss">
@import "./index.scss";
</style>
